lst = [1,4,9,16,2,5,10,15]
new = []
x = (i for i in lst)
for _ in range(len(lst)//2):
    y = (next(x)+next(x))
    new.append(y)
print(new)

# 结果不正确,你重新理解下题意
